/**
 * 
 */
package org.mspring.crm.client.pages;

import com.extjs.gxt.ui.client.Style.Scroll;
import com.extjs.gxt.ui.client.widget.HtmlContainer;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.google.gwt.user.client.Element;

/**
 * @author Gao Youbo
 * @since 2012-3-5
 * 
 */
public class OverviewPage extends LayoutContainer {
    @Override
    protected void onRender(Element parent, int pos) {
        super.onRender(parent, pos);

        setScrollMode(Scroll.AUTO);

        StringBuffer sb = new StringBuffer();
        sb.append("<div style='color:red;'>overview page</div>");
        HtmlContainer html = new HtmlContainer(sb.toString());
        add(html);
    }
}
